package com.cskaoyan.bean.bo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 该类接收 Topic Update VXCollectAddOrDeleteBo 对象;
 *
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/5 17:22
 */

@Data
public class TopicUpdateBo {

    private Integer id;
    private String title;
    private String subtitle;
    private Integer price;
    private String readCount;
    private String picUrl;
    private Integer sortOrder;
    // 客户端传递而来就是 [] ;
    /**
     * 在老师演示里:  客户端传递的是 []  ;而在我自己的前端代码里,此时是"[]";....
     */
    private List<Integer> goods;
    // private String goods;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;
    private String content;
}
